<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="struts.bean.LoginBean" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Insert title here</title>
</head>
<body>

<%
	LoginBean bean = (LoginBean)request.getAttribute("loginMessage");
	out.println("成功登陆！你好，"+bean.getUsername()+"。你的性别是："+bean.getSex());
%>
<br/>
username : <input type="text" name="username" value="${username}" /><br/>
sex: <input type="text" name="sex" value="${sex}" />
</body>
</html>